const state = {
  user: null
}
// mutations
const mutations = {
  saveUser (state, user) {
    state.user = user
  },
  deleteUser (state) {
    state.user = null
  }
}

export default {
  namespaced: true,
  state,
  mutations
}
